package com.dt76.smallloanfrontenduser.remote.xiaohao;


import com.dt76.smallloanfrontenduser.hystrix.xiaohao.InformationHystrix;
import com.dt76.smallloanfrontenduser.pojo.xiaohao.Information;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "smallloan-Frontend-Service", fallback = InformationHystrix.class)
public interface InformationRemote {
    @RequestMapping("/Information/qryAll")
    List<Information> qryAll();

}
